package com.syxp.pda.core.util;

import java.sql.Date;

public class ParamUtil {

	public static String getType(Object o){
		String type = null ;
		
		if(o instanceof String){
			type = "string" ;
		}else if(o instanceof Integer) {
			type = "integer" ;
		}else if(o instanceof Long){
			type = "long" ;
		}else if(o instanceof Double) {
			type = "double" ;
		}else if(o instanceof Byte){
			type = "byte" ;
		}else if(o instanceof Date) {
			type = "date" ;
		}else {
			
		} 
		return type ;
	}
	
}
